package com.wpml.product.service;

import com.wpml.product.entity.CategoryModel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wpml.product.vo.Catalog2Vo;

import java.util.List;
import java.util.Map;


/**
 * 商品三级分类(PmsCategory)表服务接口
 *
 * @author wangpei
 * @since 2020-04-07 11:33:36
 */
public interface CategoryService extends IService<CategoryModel> {

    List<CategoryModel> listWithTree();

    void updateCascade(CategoryModel category);

    void removeMenuByIds(List<Long> asList);

    Long[] findCatelogPath(Long catelogId);

    List<CategoryModel> getLevelOneCategoryList();

    Map<String, List<Catalog2Vo>> getCatalogJson();

}
